package com.app.mapper;

import com.app.model.ActivityModel;
import com.app.model.SystemModel;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper extends BaseMapper<ActivityModel> {
    List<SystemModel> selectTypeList();

    List<ActivityModel> selectActivityByTitle(String title, Integer page, Integer limit,Integer villageId);

    List<ActivityModel> selectActivityList(Integer page, Integer limit,Integer villageId);

    List<ActivityModel> selectActivityListByType(Integer page, Integer limit, Integer type,Integer villageId);
}
